<?php
/**
* Meta only used in head of XHTML 1.1 Transitional
* Need more study.
*
*/
class meta extends elementInner
{
    public function meta($httpequiv = 'Content-Type', $content = 'text/html; charset=UTF-8')
    {
        parent::elementInner('meta',NULL,NULL,NULL,NULL);
        //temporary for XHTML 1.1 Transitional
        $this->addAttribute('http-equiv',$httpequiv);
        $this->addAttribute('content',$content);
    }

    public function __toString()
    {
        return parent::__toString(false);
        //<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" ></meta>
    }
}
?>